﻿using System;
using l1cs.server.model.Instance;
using System.Collections.Generic;
using System.Collections;

namespace l1cs.server.model.npc.action
{
    public interface L1NpcAction
    {
        bool acceptsRequest( String actionName, L1PcInstance pc, L1Object obj );

        L1NpcHtml execute( String actionName, L1PcInstance pc, L1Object obj, byte[] args );

        L1NpcHtml executeWithAmount( String actionName, L1PcInstance pc, L1Object obj, int amount );

        void setData( Hashtable attribute );

        void addAction( L1NpcAction action );
    }
}